[INFO] cloning repository https://github.com/kekecc/bitcask
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kekecc/bitcask" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9d66df78bb97c712844c07b3655ca98d1e89804
[INFO] testing kekecc/bitcask against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekecc%2Fbitcask" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kekecc/bitcask
[INFO] finished tweaking git repo https://github.com/kekecc/bitcask
[INFO] tweaked toml for git repo https://github.com/kekecc/bitcask written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kekecc/bitcask on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kekecc/bitcask already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ded8e86e9f96811775f11c16782efb067ce22f9eb91dadd8772788e4e582304b
[INFO] running `Command { std: "docker" "start" "-a" "ded8e86e9f96811775f11c16782efb067ce22f9eb91dadd8772788e4e582304b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ded8e86e9f96811775f11c16782efb067ce22f9eb91dadd8772788e4e582304b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ded8e86e9f96811775f11c16782efb067ce22f9eb91dadd8772788e4e582304b", kill_on_drop: false }`
[INFO] [stdout] ded8e86e9f96811775f11c16782efb067ce22f9eb91dadd8772788e4e582304b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac1d9b095b2b02453e88ad2da6c2bfa9ff2db48338954e6ac115807f5e16e888
[INFO] running `Command { std: "docker" "start" "-a" "ac1d9b095b2b02453e88ad2da6c2bfa9ff2db48338954e6ac115807f5e16e888", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling serde_json v1.0.122
[INFO] [stderr]    Compiling plotters-backend v0.3.6
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling deunicode v1.6.0
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling crossbeam-skiplist v0.1.3
[INFO] [stderr]    Compiling clap_builder v4.5.13
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling plotters-svg v0.3.6
[INFO] [stderr]    Compiling bytes v1.6.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling is-terminal v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling plotters v0.3.6
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling fs4 v0.8.4
[INFO] [stderr]    Compiling clap v4.5.13
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling fake v2.9.2
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling bitcask v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `AtomicI64` and `AtomicU32`
[INFO] [stdout]  --> src/transaction/manager.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transaction/engine.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `padding` is never used
[INFO] [stdout]   --> src/data/datafile.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl DataFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn padding(&mut self, max: u64) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_record_with_size` is never used
[INFO] [stdout]   --> src/data/datafile.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl DataFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result<RecordReader> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `begin` is never used
[INFO] [stdout]   --> src/transaction.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 43 |     pub(crate) fn begin(storage: Arc<Bitcask>, manager: Arc<TxnManager>) -> Self {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxnEngine` is never constructed
[INFO] [stdout]   --> src/transaction/engine.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct TxnEngine {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used
[INFO] [stdout]   --> src/transaction/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TxnEngine {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(storage: Bitcask) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn close(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn sync(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn begin_transaction(&self) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used
[INFO] [stdout]   --> src/transaction/manager.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl TxnManager {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 23 |     pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result<Self> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub(crate) fn acquire_next_ts(&self) -> u64 {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub(crate) fn add_txn(&self, version: u64) -> HashSet<u64> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/batch_write.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite> {
[INFO] [stdout]    |                            ^^^^^ the lifetime is elided here         ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite<'_>> {
[INFO] [stdout]    |                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/transaction/manager.rs:56:39
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.91s
[INFO] running `Command { std: "docker" "inspect" "ac1d9b095b2b02453e88ad2da6c2bfa9ff2db48338954e6ac115807f5e16e888", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac1d9b095b2b02453e88ad2da6c2bfa9ff2db48338954e6ac115807f5e16e888", kill_on_drop: false }`
[INFO] [stdout] ac1d9b095b2b02453e88ad2da6c2bfa9ff2db48338954e6ac115807f5e16e888
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33d3b06863593fe3edd46f2f8e524001739f4d9a1c44f42d9e72a7d07ebf5997
[INFO] running `Command { std: "docker" "start" "-a" "33d3b06863593fe3edd46f2f8e524001739f4d9a1c44f42d9e72a7d07ebf5997", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitcask v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `AtomicI64` and `AtomicU32`
[INFO] [stdout]  --> src/transaction/manager.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transaction/engine.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `padding` is never used
[INFO] [stdout]   --> src/data/datafile.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl DataFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn padding(&mut self, max: u64) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_record_with_size` is never used
[INFO] [stdout]   --> src/data/datafile.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl DataFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result<RecordReader> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `begin` is never used
[INFO] [stdout]   --> src/transaction.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 43 |     pub(crate) fn begin(storage: Arc<Bitcask>, manager: Arc<TxnManager>) -> Self {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxnEngine` is never constructed
[INFO] [stdout]   --> src/transaction/engine.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct TxnEngine {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used
[INFO] [stdout]   --> src/transaction/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TxnEngine {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(storage: Bitcask) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn close(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn sync(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn begin_transaction(&self) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used
[INFO] [stdout]   --> src/transaction/manager.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl TxnManager {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 23 |     pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result<Self> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub(crate) fn acquire_next_ts(&self) -> u64 {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub(crate) fn add_txn(&self, version: u64) -> HashSet<u64> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/batch_write.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite> {
[INFO] [stdout]    |                            ^^^^^ the lifetime is elided here         ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite<'_>> {
[INFO] [stdout]    |                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/transaction/manager.rs:56:39
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicI64` and `AtomicU32`
[INFO] [stdout]  --> src/transaction/manager.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transaction/engine.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `padding` is never used
[INFO] [stdout]   --> src/data/datafile.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl DataFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn padding(&mut self, max: u64) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_record_with_size` is never used
[INFO] [stdout]   --> src/data/datafile.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl DataFile {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result<RecordReader> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `begin` is never used
[INFO] [stdout]   --> src/transaction.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 43 |     pub(crate) fn begin(storage: Arc<Bitcask>, manager: Arc<TxnManager>) -> Self {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxnEngine` is never constructed
[INFO] [stdout]   --> src/transaction/engine.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct TxnEngine {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used
[INFO] [stdout]   --> src/transaction/engine.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TxnEngine {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(storage: Bitcask) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn close(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn sync(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn begin_transaction(&self) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used
[INFO] [stdout]   --> src/transaction/manager.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl TxnManager {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 23 |     pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result<Self> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub(crate) fn acquire_next_ts(&self) -> u64 {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub(crate) fn add_txn(&self, version: u64) -> HashSet<u64> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/batch_write.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite> {
[INFO] [stdout]    |                            ^^^^^ the lifetime is elided here         ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite<'_>> {
[INFO] [stdout]    |                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/transaction/manager.rs:56:39
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stdout]    |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s
[INFO] running `Command { std: "docker" "inspect" "33d3b06863593fe3edd46f2f8e524001739f4d9a1c44f42d9e72a7d07ebf5997", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33d3b06863593fe3edd46f2f8e524001739f4d9a1c44f42d9e72a7d07ebf5997", kill_on_drop: false }`
[INFO] [stdout] 33d3b06863593fe3edd46f2f8e524001739f4d9a1c44f42d9e72a7d07ebf5997
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9ec0d3d3c6895c281c28a340a97894f1829a8548df62a3e58f594df56aff7b5b
[INFO] running `Command { std: "docker" "start" "-a" "9ec0d3d3c6895c281c28a340a97894f1829a8548df62a3e58f594df56aff7b5b", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `AtomicI64` and `AtomicU32`
[INFO] [stderr]  --> src/transaction/manager.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 |     sync::atomic::{AtomicI64, AtomicU32, AtomicU64, Ordering},
[INFO] [stderr]   |                    ^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/transaction/engine.rs:39:32
[INFO] [stderr]    |
[INFO] [stderr] 39 |                     if let Err(e) = storage_.delete(KeySlice::new(key, ts).encode()) {
[INFO] [stderr]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `padding` is never used
[INFO] [stderr]   --> src/data/datafile.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl DataFile {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn padding(&mut self, max: u64) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `read_record_with_size` is never used
[INFO] [stderr]   --> src/data/datafile.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | impl DataFile {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 76 |     pub fn read_record_with_size(&self, offset: u64, size: u64) -> Result<RecordReader> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `begin` is never used
[INFO] [stderr]   --> src/transaction.rs:43:19
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl Transaction {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 43 |     pub(crate) fn begin(storage: Arc<Bitcask>, manager: Arc<TxnManager>) -> Self {
[INFO] [stderr]    |                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TxnEngine` is never constructed
[INFO] [stderr]   --> src/transaction/engine.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct TxnEngine {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `close`, `sync`, and `begin_transaction` are never used
[INFO] [stderr]   --> src/transaction/engine.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl TxnEngine {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] 16 |     pub fn new(storage: Bitcask) -> Result<Self> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn close(&self) -> Result<()> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn sync(&self) -> Result<()> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 |     pub fn begin_transaction(&self) -> Transaction {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_uncommitted_txn`, `acquire_next_ts`, and `add_txn` are never used
[INFO] [stderr]   --> src/transaction/manager.rs:23:19
[INFO] [stderr]    |
[INFO] [stderr] 22 | impl TxnManager {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr] 23 |     pub(crate) fn new(ops: BitcaskOptions, signal: Sender<()>) -> Result<Self> {
[INFO] [stderr]    |                   ^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub(crate) fn acquire_next_ts(&self) -> u64 {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pub(crate) fn add_txn(&self, version: u64) -> HashSet<u64> {
[INFO] [stderr]    |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/batch_write.rs:20:28
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite> {
[INFO] [stderr]    |                            ^^^^^ the lifetime is elided here         ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn new_batch_write(&self, opts: WriteBatchOptions) -> Result<BatchWrite<'_>> {
[INFO] [stderr]    |                                                                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/transaction/manager.rs:56:39
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stderr]    |                                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                       |
[INFO] [stderr]    |                                       the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub(crate) fn get_uncommitted_txn(&self) -> MappedMutexGuard<'_, HashMap<u64, Vec<Vec<u8>>>> {
[INFO] [stderr]    |                                                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: `bitcask` (lib) generated 10 warnings (run `cargo fix --lib -p bitcask` to apply 4 suggestions)
[INFO] [stderr] warning: `bitcask` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcask-7d18902cbb747fdc)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test data::log_record::tests::record_encode_and_decode ... ok
[INFO] [stdout] test data::datafile::tests::new ... ok
[INFO] [stdout] test storage::tests::t ... ok
[INFO] [stdout] test data::datafile::tests::read ... ok
[INFO] [stdout] test data::datafile::tests::write ... ok
[INFO] [stdout] test storage::tests::test_bitcask_put_get_delete ... ok
[INFO] [stdout] test batch_write::tests::test_bitcask_write_batch ... ok
[INFO] [stdout] test storage::tests::test_bitcask_merge ... ok
[INFO] [stderr]    Doc-tests bitcask
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.48s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9ec0d3d3c6895c281c28a340a97894f1829a8548df62a3e58f594df56aff7b5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ec0d3d3c6895c281c28a340a97894f1829a8548df62a3e58f594df56aff7b5b", kill_on_drop: false }`
[INFO] [stdout] 9ec0d3d3c6895c281c28a340a97894f1829a8548df62a3e58f594df56aff7b5b
